import request from '@/router/axios';
import website from "@/config/website";

export const getLocation = (ip) => {
  const key = website.tencentWebApiKey
  return request({
    url: 'tencent-dev-api/ws/location/v1/ip',
    method: 'get',
    params: {
      ip,
      key,
    }
  })
}

